package me.huanmeng.heater.event;

import java.lang.annotation.*;

/**
 * 2021/10/3<br>
 * Heater<br>
 * 如果类有了{@link EventHandler}注解<br>
 * 则该类的方法就不需要在添加{@link EventHandler}了<br>
 * 类的注解参数会覆盖所有符合要求的方法<br>
 * @author huanmeng_qwq
 */
@Target({ElementType.METHOD,ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface EventHandler {
    EventPriority priority() default EventPriority.NORMAL;
}
